

#import "cocos2d.h"
#import "BaseLayer.h"
#import "RamUnit.h"

@implementation BaseLayer

-(id)init{
	self=[super initWithColor:ccc4(0,0,0,255)];
	if(self!=nil){
		isZoomByScene=TRUE;// 默认跟随缩放
		self.isTouchEnabled=TRUE;//默认可以触摸
	}
	return self;
}



-(void) setIsZoomByScene:(BOOL)_isZoomByScene{
	isZoomByScene=_isZoomByScene;
}

-(BOOL) getIsZoomByScene{
	return isZoomByScene;
}

-(void)dealloc{
	[super dealloc];
}

@end
